<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>BeLay纯静态后台开发框架 - 为美化LayTp极速后台框架助力</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!-- 开始加载公用css文件 -->
    <link rel="stylesheet" href="/static/library/layui/css/layui.css">
    <link rel="stylesheet" href="/static/admin/css/theme.css">
    <link rel="stylesheet" href="/static/admin/css/style.css" media="all">
    <link rel="stylesheet" href="/static/admin/css/prettify.css" media="all">
    <link rel="stylesheet" href="/static/admin/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <!-- 结束加载公用css文件 -->
    <!-- 开始设置全局js常量 -->

    <!-- 结束设置全局js常量 -->
    <!-- 开始加载第三方js库 -->
    <script type="text/javascript" src="/static/library/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/library/layui/layui_config.js" charset="utf-8"></script>
    <!-- 结束加载第三方js库 -->
</head>
<body class="layui-layout-body laytp-theme-10">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header" style="z-index:99999!important;">
        <div class="fl header-logo">LayTp2.0极速后台开发框架</div>
        <ul class="layui-nav fl nobg main-nav">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <i class=""></i> 控制台
                </a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-align-left" style="font-size: 20px;"></i>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;"><i class=""></i> 更多的菜单</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right head-info">
            <li class="layui-nav-item">
                <a href="javascript:void(0);" class="fa fa-trash" id="laytp_clear_cache" title="清缓存"></a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:void(0);" class="layui-icon layui-icon-theme" id="laytp_theme" title="主题"></a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:void(0);" class="fa fa-lock" id="lock_screen" title="锁屏"></a>
            </li>
            <li class="layui-nav-item" style="padding: 0 15px">
                <a href="javascript:void(0);">
                    <img src="/static/admin/img/default_avatar.png" class="layui-nav-img">
                    admin
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">个人设置</a></dd>
                    <dd><a href="">安全退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-side">
        <div class="user-panel hidden-xs">
            <div class="pull-left image">
                <a href="" class="addtabsit"><img src="/static/admin/img/default_avatar.png" class="img-circle"></a>
            </div>
            <div class="pull-left info">
                <p>admin</p>
                <span class="layui-badge-dot" style="position: relative; top: -2px; left: -4px;background-color: #18bc9c"></span> 在线</div>
        </div>
        <div id="navBarId">
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon layui-icon-share"></i> 快捷菜单<span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class=" layui-this">
                            <a style="margin-Left:20px" href="javascript:;" rule="admin/dashboard/index" menu_id="728">
                                <i class="layui-icon layui-icon layui-icon-star-fill"></i> 后台首页
                            </a>
                        </dd>
                    </dl>
                </li>
                <span class="layui-nav-bar" style="top: 22.5px; height: 0px; opacity: 0;"></span>
            </ul>
        </div>
    </div>
    <div class="layui-body">
        <ul class="bread-crumbs">
            <li>控制台 - 快捷菜单 - 后台首页</li>
        </ul>
        <div id="layTpIframe" name="layTpIframe" style="scroll:auto;width:100%;height: calc(100% - 40px);"> </div>
    </div>
    <!-- 底部固定区域 -->
    <div class="layui-footer">
        © www.laytp.com
    </div>
</div>
<script>
    layui.use(['layTp'],function(){
        var $ = layui.$;

        document.addEventListener("click",clickHidden);//所有组件添加点击事件，为了实现点击任何地方都隐藏批量操作层

        function clickHidden(e){
            if( e.target.id!="laytp_clear_cache" ){
                $('.layui-dropdown').hide();
                $('#laytp_clear_cache').parent('li').removeClass('layui-this');
                $("#layTpIframe").contents().find(".layui-dropdown").hide();
                $("#layTpIframe").contents().find('#laytp_clear_cache').parent('li').removeClass('layui-this');
            }
        }
    });

</script>
</body>
</html>